package com.htsk.city.services.core.dao;

import com.htsk.city.services.core.domain.Topic;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TopicDao extends JpaRepository<Topic, Integer> {

    List<Topic> findAllByStatusAndDelFlag(Integer status, Integer delFlag);

    List<Topic> findAllByIdIn(List<Long> topicIds);
}
